package com.easytopit.mapper;

import com.easytopit.bean.Bus;

/**
 * 演示了接口绑定里面的接口和Sql分离,所以去掉了原来Sql的注解声明,Sql从配置文件去找
 * @author Administrator
 *
 */
public interface BusMapper {
	//当前方法找的sql是sql映射文件里面节点的id
	Bus getBus(int id);
	void addBus(Bus bus);
}
